package com.lsj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lsj.mapper.entity.SysMenu;

import java.util.List;

/**
 * <p>
 * 系统菜单表 Mapper 接口
 * </p>
 *
 * @author lsj
 * @since 2021-07-06
 */
public interface MySysMenuMapper extends BaseMapper<SysMenu> {
    List<String> findAuthorityByRoleCodes(List<String> roleCodes);
    List<SysMenu> getMenusByUserId(Long userId);
}
